<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<?php echo $this->Html->charset(); ?>
	<title>
		<?php 
			echo $title_for_layout_cms." ".$title_for_layout; 			
		?>
	</title>
	<meta name="Language" content="<?php echo Configure::read('Config.language');?>" />	
	<?php
		echo $this->Html->meta('keywords', $keywords_for_layout_cms);echo "\n";
		echo $this->Html->meta('description', $description_for_layout_cms);echo "\n";
	?>	
	<?php echo $this->Html->script(
		array(
			'jquery-1.4.3.min'
			,'jquery-ui-1.8.10.custom.min'
			,'highslide-full'
			,'jquery.easing.1.2.js'
	)); 
	?>
	

	<?php 
		echo $this->Html->css(array(
			HOST.'/reset.'.HOST
			,HOST.'/grid.'.HOST
			,HOST.'/style.'.HOST
			,'custom-theme/jquery-ui-1.8.16.custom'
			,'highslide/highslide'
			
		));
	?>
	<?php
		echo $scripts_for_layout;
	?>	
	<?php		
	echo $javascript->codeBlock("
		hs.graphicsDir = '/css/highslide/graphics/';
		hs.outlineType = 'rounded-white';
		hs.wrapperClassName = 'draggable-header';
		hs.align = 'center';
	",$options = array('allowCache'=>false,'safe'=>false,'inline'=>true));
	?>
	<?php echo $google->analytics;?>
</head>


		<?php 
			$alert = $this->Session->flash();
			$alert .= $this->Session->flash('auth');
			$alert .= $this->Session->flash('email');
			echo $alert;
		?>

	<?php 
		if(!empty($alert))
		echo $this->Js->dialog('.alerts',array('modal'=>true,'height'=> 140),array('allowCache'=>true,'safe'=>false,'inline'=>true));
	?>
	<?php  echo $content_for_layout;?>	

	
	
<?php echo $this->element('sql_dump');?>
<?php echo $this->Js->writeBuffer();?>


</html>